package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.MemberApplyDO;
import com.jinzhi.common.base.CoreService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 
 * <pre>
 * 成员申请表
 * </pre>
 * <small> 2024-06-18 11:09:22 | lance</small>
 */
public interface MemberApplyService extends CoreService<MemberApplyDO> {

    Result<Page<MemberApplyDO>> selMemberApplyList(Integer unitType, String name, int current, int size, Integer checkStatus, Integer checkResult);

    Result<Page<MemberApplyDO>> selCertificateList(Integer unitType, String name, int current, int size, Integer status, Integer intention);

    Result<String> updateMemberApply(MemberApplyDO cond);

    Result<?> downloadMemberApply(HttpServletResponse response);

    MemberApplyDO getInfo(Long id);

    void getCertificateList(List<Long> ids, String unitTraSynthesis, String personalTraSynthesis, String electronic);

    void exportUnitPdf(List<Long> ids, HttpServletResponse response) throws Exception;

    void exportPersonalPdf(List<Long> ids, HttpServletResponse response);

    void getCertificate(Long id, String unitTraSynthesis, String personalTraSynthesis, String electronic);

    Result<?> checkMemberApply(Long id, String reason, Integer checkResult);

    void exportPdf(Long id, HttpServletResponse response);
}
